from pylab import *
from numpy import *

from math import *


a=imread("sin.png")
b=imread("cos.png")

c=a/b
d=c.copy()

c=c[:,:,1]

m=zeros((500,500))

for i in range(a.shape[0]):
    for j in range(a.shape[1]):
        m[i][j]=atan(c[i][j])



print m 
print c

gray()
imshow(m)
figure()
imshow(d)
show()
